package com.heyue.ems.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.heyue.common.core.annotation.Excel;
import com.heyue.common.core.web.domain.BaseEntity;

/**
 * 承运车辆（基础）对象 van
 * 
 * @author WCHU
 * @date 2021-07-27
 */
public class Van extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private Long vanId;

    /** 车牌号码 */
    @Excel(name = "车牌号码")
    private String vanNumber;

    /** 司机编号 */
    @Excel(name = "司机编号")
    private Long driverUserId;

    /** GPS编号 */
    @Excel(name = "GPS编号")
    private String gpsIds;

    /** 传感器编号 */
    @Excel(name = "传感器编号")
    private String sensorIds;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Long vanType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setVanId(Long vanId) 
    {
        this.vanId = vanId;
    }

    public Long getVanId() 
    {
        return vanId;
    }
    public void setVanNumber(String vanNumber) 
    {
        this.vanNumber = vanNumber;
    }

    public String getVanNumber() 
    {
        return vanNumber;
    }
    public void setDriverUserId(Long driverUserId) 
    {
        this.driverUserId = driverUserId;
    }

    public Long getDriverUserId() 
    {
        return driverUserId;
    }
    public void setGpsIds(String gpsIds) 
    {
        this.gpsIds = gpsIds;
    }

    public String getGpsIds() 
    {
        return gpsIds;
    }
    public void setSensorIds(String sensorIds) 
    {
        this.sensorIds = sensorIds;
    }

    public String getSensorIds() 
    {
        return sensorIds;
    }
    public void setVanType(Long vanType) 
    {
        this.vanType = vanType;
    }

    public Long getVanType() 
    {
        return vanType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("vanId", getVanId())
            .append("vanNumber", getVanNumber())
            .append("driverUserId", getDriverUserId())
            .append("gpsIds", getGpsIds())
            .append("sensorIds", getSensorIds())
            .append("vanType", getVanType())
            .toString();
    }
}
